<template>
  <div class="progress">
    <div :style="{
      width:scoreRatio,
      height:'100%',
      borderRadius:'5px',
      backgroundColor:'rgb(108, 132, 127,0.5)',
      }">
      {{playerScore}}
    </div>
    <div style="color:#101010">
      {{teamScore}}
    </div>
  </div>
</template>

<script>
  export default {
    name: "Progress",
    props:{
      scoreRatio:{
        type:String
      },
      playerScore:{
        type:Number
      },
      teamScore:{
        type:Number
      }
    },
    data(){
      return {

      }
    },
  }
</script>

<style scoped>
  .progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 180px;
    height: 20px;
    border-radius: 5px;
    background-color:rgba(1, 83, 139, 0.2);
    text-align:left;
    font-size:15px;
    color:white;
    line-height:20px;
  }
</style>